matcher:matcher.cc
	g++ -o $@ $^
session:session.cc
	g++ -o $@ $^
room:room.cc
	g++ -o $@ $^ -lmysqlclient -ljsoncpp
online:online.cc
	g++ -o $@ $^
db:db.cc
	g++ -o $@ $^ -lmysqlclient -ljsoncpp
file:file.cc
	g++ -o $@ $^
strsplit:strsplit.cc
	g++ -o $@ $^
json:json.cc
	g++ -o $@ $^ -ljsoncpp
mysql:mysql.cc
	g++ -o $@ $^ -lmysqlclient
log:log.cc
	g++ -o $@ $^
.PHONY:clean
clean: 
	rm -rf log mysql json strsplit file db online room session matcher